﻿
namespace Liger.Web.UI
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;


    public sealed class UIComponent
    {
        private UIComponent()
        {

        } 
        public static readonly int RenderComponentIDStart = 1000;

        private static int RenderComponentNumber = 0;

        public static void TagRenderComponent()
        {
            RenderComponentNumber++;
        }
        public static int GetRenderComponentNumber()
        {
            return RenderComponentNumber;
        }

        public static UIComponent Create()
        {
            return new UIComponent();
        }

        public AccordionBuilder Accordion()
        {
            return new AccordionBuilder();
        }
        public ButtonBuilder Button()
        {
            return new ButtonBuilder();
        }
        public CheckBoxBuilder CheckBox()
        {
            return new CheckBoxBuilder();
        }
        public ComboBoxBuilder ComboBox()
        {
            return new ComboBoxBuilder();
        }
        public DateEditorBuilder DateEditor()
        {
            return new DateEditorBuilder();
        } 
        public DialogBuilder Dialog()
        {
            return new DialogBuilder();
        }
        public DialogStringBuilder DialogString()
        {
            return new DialogStringBuilder();
        }
        public DragBuilder Drag()
        {
            return new DragBuilder();
        }
        public EasyTabBuilder EasyTab()
        {
            return new EasyTabBuilder();
        }
        public FilterBuilder Filter()
        {
            return new FilterBuilder();
        } 
        public FormBuilder Form()
        {
            return new FormBuilder();
        }
        public GridBuilder Grid()
        {
            return new GridBuilder();
        } 
        public LayoutBuilder Layout()
        {
            return new LayoutBuilder();
        }
        public MenuBuilder Menu()
        {
            return new MenuBuilder();
        }
        public MenuBarBuilder MenuBar()
        {
            return new MenuBarBuilder();
        }
        public MessageBoxBuilder MessageBox()
        {
            return new MessageBoxBuilder();
        }
        public RadioBuilder Radio()
        {
            return new RadioBuilder();
        }
        public ResizableBuilder Resizable()
        {
            return new ResizableBuilder();
        }
        public SpinnerBuilder Spinner()
        {
            return new SpinnerBuilder();
        }
        public TabBuilder Tab()
        {
            return new TabBuilder();
        }
        public TabStringBuilder TabString()
        {
            return new TabStringBuilder();
        }
        public TextBoxBuilder TextBox()
        {
            return new TextBoxBuilder();
        }
        public HideTipBuilder HideTip()
        {
            return new HideTipBuilder();
        }
        public TipBuilder Tip()
        {
            return new TipBuilder();
        }
        public ElementTipBuilder ElementTip()
        {
            return new ElementTipBuilder();
        }
        public ToolBarBuilder ToolBar()
        {
            return new ToolBarBuilder();
        }
        public TreeBuilder Tree()
        {
            return new TreeBuilder();
        }
        public WindowBuilder Window()
        {
            return new WindowBuilder();
        }
         


    }
}
